<html>

<head>
    <script>
        var num = 10;
        var str1 = String(num);
        console.log(str1);
        console.log(typeof str1);
        var str = "123";
        console.log(str);
        console.log(typeof str);
    </script>
</head>

<body>

</body>

</html>